
const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  home_page_sidebar: state => state.myhomePage.sidebar,
  home_page_device: state => state.myhomePage.device,
  token: state => state.admin.token,
  avatar: state => state.admin.avatar,
  name: state => state.admin.name,
  id: state => state.admin.id,
  username: state => state.admin.adminName,
  password: state => state.admin.adminPassword,
  idCard: state => state.admin.idCard,
  phone: state => state.admin.phone,
  user_username: state => state.user.username,
  user_pass: state => state.user.password,
  user_token: state => state.user.token,
  user_name: state => state.user.name,
  user_id: state => state.user.id,
  user_phone: state => state.user.phone,
  user_avatar: state => state.user.avator,
  user_address: state => state.user.address,
  user_gender: state => state.user.gender,
  user_birthday: state => state.user.birthday,
  user_email: state => state.user.email,
  user_isConsultant: state => state.user.isConsultant
}
export default getters
